package io.renren.modules.business.dao;

import io.renren.modules.business.entity.BusProjectTeamEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 开发团队管理
 * 
 * @author liao mengqing
 */
@Mapper
public interface BusProjectTeamDao extends BaseMapper<BusProjectTeamEntity> {

    /**
     * 对团队能力值进行排序并显示
     * @return
     */
    List<BusProjectTeamEntity> descTeam ();

    /**
     * 根据关键字查询团队信息
     * @return
     */
    List<BusProjectTeamEntity> descKeyTeam(String teamName);

    /**
     * 获取所有项目Id
     * @return
     */
    List<Long> allTeamId();
}
